package com.hhf.feiojjudgeservice;

import com.hhf.feiojjudgeservice.job.once.InitRabbitMQ;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.hhf.feiojapiservice.client"})
@ComponentScan(basePackages = {"com.hhf.feiojapiservice","com.hhf.feiojjudgeservice"})
public class FeiojJudgeServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeiojJudgeServiceApplication.class, args);
    }

}
